Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin built from C11 is shown in the plugin list. #3122

Open
hydai opened this issue Dec 29, 2023 Discussed in #3121 · 3 comments · May be fixed by WasmEdge/docs#216
Open

Plugin built from C11 is shown in the plugin list. #3122

hydai opened this issue Dec 29, 2023 Discussed in #3121 · 3 comments · May be fixed by WasmEdge/docs#216
Labels
bug Something isn't working platform-macos

Comments

@hydai
Copy link
Member

hydai commented Dec 29, 2023

Discussed in #3121

Originally posted by peter-jerry-ye December 28, 2023
Hi,

I tried to follow the steps in the document.

I created a file, copied all the code on the document, built it with the command. I got a dylib file (cause I'm on mac), I moved it where the other plugins are, but when I run the code that lists the plugins by name, I've only got rustls that I installed previously.

Is there any steps I'm missing?

@hydai hydai added bug Something isn't working platform-macos labels Dec 29, 2023
@hydai
Copy link
Member Author

hydai commented Dec 29, 2023

The issue reporter used both build with gcc and cmake all failed:
Ref: #3121 (comment)

@peter-jerry-ye
Copy link

It turns out the issue is that the document is not complete.

One needs to define WasmEdge_Plugin_GetDescriptor to register the plugin, which is missing from the document.

@hydai
Copy link
Member Author

hydai commented Feb 22, 2024

Hi @peter-jerry-ye
Would you like to submit a PR to fix this?

@peter-jerry-ye peter-jerry-ye linked a pull request Feb 24, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working platform-macos
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants